/*************************************************************************
	> File Name: common.h
	> Author: WangYiFei
	> Mail: 824537320@qq.com
	> Created Time: Sat 09 Jan 2021 02:04:26 PM CST
 ************************************************************************/

#ifndef _COMMON_H
#define _COMMON_H

int make_nonblock(int fd);
int make_block(int fd);
int recv_str_nonblock(int sockfd, char *buff, long size, int timeout);

#endif
